import { useState } from 'react'
import './App.css'


function App() {
  let [count, setCount] = useState(0)
    function conutPlus() {
        count++
        setCount(count)
    }
  return (
    <div>
        <span onClick={conutPlus}>这是我的react</span>
        <p>{count}</p>
    </div>
  )
}

export default App
